{include file=$header_start}
{include file=$header_end}

 <div class="contain">
 
      {include file=$left_menu}
      
      <div class="right_contain">
        
         <div class="heading_box">Post Job Details</div>
         <div class="whitebox">
         <!--Message Div Start-->
         {if $msg}
         <div class="masg_div">
           {$msg}
         </div>
         {/if}
         <!--Message Div End-->
         
         <div style="min-height:250px;">
          <!--Form Contain start-->
           
           <div class="form_fieldbox">
             <dl>
              <dt>Homeowner Name:</dt>
              <dd>{$job_details.first_name|ucfirst}&nbsp;{$job_details.last_name|ucfirst}</dd>
              <div class="clear"></div>
             </dl>
             
             <dl>
              <dt>Trade Category:</dt>
              <dd>{$job_details.trade_category|ucfirst}</dd>
              <div class="clear"></div>
             </dl>
             
             <dl>
              <dt>Job Type:</dt>
              <dd>{$job_details.jobtype_name|ucfirst}</dd>
              <div class="clear"></div>
             </dl>
             
             <dl>
              <dt>Job Description:</dt>
              <dd>{$job_details.job_desc|ucfirst}</dd>
              <div class="clear"></div>
             </dl>
            
            <dl>
              <dt>Work Start In:</dt>
              <dd>{if $job_details.workstart eq 'asap'} As Soon As Possible {else} {$job_details.workstart} {/if}</dd>
              <div class="clear"></div>
             </dl>
             
            <dl>
              <dt>Approx Budget:</dt>
              <dd>Under ${$job_details.budget_name}</dd>
              <div class="clear"></div>
             </dl>
 
            <dl>
              <dt>Postal Code:</dt>
              <dd>{$job_details.area}</dd>
              <div class="clear"></div>
             </dl>
             
              <dl>
              <dt>Image:</dt>
              <dd>{if $job_details.image}
                        <section class="com_logo_img_wrapp">
                        <img src="{$siteroot}/includes/image.php?width=150&amp;height=150&amp;image={$siteroot}/uploads/job/{$job_details.image}" title="job logo" alt="job logo"/>
                        </section>
                    {else}	
                    <section class="com_logo_img_wrapp">
                        <img src="{$siteroot}/uploads/job/featredjob_img1.jpg" height="150px" width="150px"  />
                        </section>
                    {/if}  </dd>
              <div class="clear"></div>
             </dl>
             {if $review_details.to_first_name neq ''}
              <dl>
              <dt>&nbsp;</dt>
              <dd style="text-align:right"><h1>See Review</h1></dd>
              <div class="clear"></div>
             </dl>
              <dl>
              <dt>&nbsp;</dt>
              <dd>&nbsp;</dd>
              <div class="clear"></div>
             </dl>
             
             <dl>
              <dt>Tradesman Name:</dt>
              <dd>{$review_details.to_first_name} {$review_details.to_last_name}</dd>
              <div class="clear"></div>
             </dl>
             
              <dl>
              <dt>Rating:</dt>
              <dd>
	               {section name=i loop=$total_rating start=0 max =$total_rating}
                    	<span class=""><img src="{$siteroot}/templates/default/images/y_star.png" alt=""  class=""/></span>
                    {/section}
                    
                    {section name=j loop=$remaining_rating start =0 max=$remaining_rating}
                    	<span class="star_1"><img src="{$siteroot}/templates/default/images/g_star.png" alt=""  class=""/></span>
                    {/section}
              </dd>
              <div class="clear"></div>
             </dl>
             
              <dl>
              <dt>Feedback:</dt>
              <dd>{$review_details.message|ucfirst|stripslashes|strip_tags:true}</dd>
              <div class="clear"></div>
             </dl>
            </div>
            {/if}
            <!--Form Contain end--> 
          
           <!--Button here start-->
           <div>
           {if $mod_per[9] eq '1'}
            <span><input type="button" class="admin_btn" value="Back" onclick="window.location='{$siteroot}/admin/home.php?q=postjobs&userid={$smarty.get.userid}&page={$smarty.get.page}';"/></span>
            {else}
            <span><input type="button" class="admin_btn" value="Back" onclick="window.location='{$siteroot}/admin/home.php';"/></span>
            {/if}
           </div>
            <!--Button here end-->
  
         </div>
         
         </div>
        </div>
      
      
      <!--right_contain end-->
      <div class="clear"></div>
    </div>
    
{include file=$footer}